#ifndef SPAGEIDENTIFY_H
#define SPAGEIDENTIFY_H

#include <QObject>
#include <QString>
#include <QImage>
#include <opencv2/dnn.hpp>

namespace onechchy
{
    class SPageIdentify : public QObject
    {
        Q_OBJECT
    public:
        explicit SPageIdentify(QObject *parent = nullptr);

        int identifyPage(QImage& image);

    signals:

    private:
        cv::dnn::Net mPageNet;
        const QString modelUrl = "E:\\Project\\python\\work\\data\\frozen_models\\complex_frozen_graph.pb";
    };
}

#endif // SPAGEIDENTIFY_H
